<?php

namespace App\Services\Api;

class UserServices
{
    /**
     * @param $user_id
     * @param $UserModel \App\Models\User
     */
    public function user_info($user_id,$UserModel){
        $data = $UserModel->WhereId($user_id)->first();
        return $data;
    }
}